package cn.com.service;

import cn.com.domain.NoticeEntity;
import com.baomidou.mybatisplus.extension.service.IService;
import cn.com.domain.dto.NoticeDTO;
import cn.com.response.BaseResponse;

/**
 * @Author CRL
 * @Date 2021/4/13 23:16
 */
public interface NoticeService extends IService<NoticeEntity> {

    /**
     * 保存
     */
    BaseResponse saveNotice(NoticeDTO requestDto);

    BaseResponse findOneById(String id);

    BaseResponse deleteNotice(String id);

    BaseResponse updateNotice(String id, NoticeDTO requestDto);

    BaseResponse queryNotice(NoticeDTO requestDto);

}
